import Vue from "vue"
import Vuex from 'vuex'
import cart from '@/store/modules/cart.js'
import user from '@/store/modules/user.js'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules:{
        cart,
        user
    }
})

export default store